/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* HEADER */
.site-header {
  width: 100%;
  background-color: #0f172a;
  padding: 16px 0;
}

/* Alinhamento interno */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.4px;
}

.site-logo:hover {
  opacity: 0.9;
}

/* Navegação */
.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav-list {
    gap: 16px;
  }
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ARTIGO */
.article h1 {
    margin-bottom: 20px;
}

.article p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.article ul {
    padding-left: 40px;
    margin-bottom: 20px;
}

/* ANÚNCIOS */
.ad {
    background: #e0e0e0;
    border: 1px dashed #999;
    color: #555;
    text-align: center;
    padding: 25px;
    margin: 30px 0;
    font-size: 14px;
}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .container {
        padding: 0 15px;
    }
}

/* IMAGEM DO ARTIGO */
.article-image {
    margin: 25px 0 35px;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.article-image figcaption {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

/* NOTEBOOK / DESKTOP */
@media (min-width: 1024px) {
    .article-image img {
        max-width: 900px;
    }
}

/* TABLET */
@media (max-width: 1023px) and (min-width: 769px) {
    .article-image img {
        max-width: 750px;
    }
}

/* CELULAR */
@media (max-width: 768px) {
    .article-image {
        margin: 20px 0;
    }

    .article-image img {
        max-width: 100%;
        border-radius: 6px;
    }

    .article-image figcaption {
        font-size: 12px;
    }
}

/* FOOTER FINAL */
.site-footer-final {
  background-color: #020617;
  border-top: 1px solid #1e293b;
  margin-top: 60px;
  padding: 20px 0;
  color: #cbd5f5;
}

.footer-final-inner {
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-final-inner strong {
  color: #ffffff;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-final-inner {
    font-size: 0.8rem;
  }
}
